package com.tedu.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
/**
 * (Cart)实体类
 */
public class Cart{
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 数量
     */
    private Integer num;
    /**
     * 商品id
     */
    private Integer productId;

    private String name;
    private String pname;

    private String image;

    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 总价
     */
    private Double money;

}